%{
#include <stdio.h>
#include "testbison.tab.h"
%}

%%
"exit"            {yyterminate();}
"addone"          {return T_ADDONE;}
"strcat"          {return T_STRCAT;}
\n                {return T_NEWLINE;}
[[:blank:]]+        {}
[[:^space:]]+     {strcpy(yylval.parm, yytext); return T_PARAMETER;}
%%

int yywrap(void) {
    return 1;
}
